﻿@model CardInChina.Data.Entity.Entity.Customer
@{
    ViewBag.Navi = "#ui-profile";
    Layout = "~/Views/Shared/_User.cshtml";
}


<div class="myhome_center" style="width: 720px;">
    <div class="full">
        <div class="tou">
            <h2>
                基本信息</h2>
            <a href="/user/change-password" title="">修改密码</a>
        </div>
        <div class="form">
            <form id="form1" name="form1" method="post" action="">
            <div class="item">
                <span class="label"><em>*</em>帐户名：</span>
                <div class="fl2">
                    <strong class="username">@Model.Account</strong> <span class="rank r4"><s class="ui-icons ui-icons-rankVIP">
                    </s><a href="userclass.html" target="_blank">VIP会员</a>
                        <!--<s class="ui-icons ui-icons-rankCommon"></s><a href="userclass.html" target="_blank">普通会员</a>-->
                    </span>
                </div>
                <div class="clr">
                </div>
            </div>
            <div class="item">
                <span class="label"><em>*</em>出生日期：</span>
                <div class="fl2">
                    <strong class="brith">@(Model.Birthday.HasValue ? Model.Birthday.Value.ToString("yyyy-MM-dd") : "未填写")</strong></div>
                <div class="clr">
                </div>
            </div>
            <div class="item">
                <span class="label"><em>*</em>推荐人：</span>
                <div class="fl2">
                    <strong class="Recom">Yoyo</strong></div>
                <div class="clr">
                </div>
            </div>
            <div class="item">
                <span class="label">Email：</span>
                <div class="fl">
                    <input name="userInfo.email" class="text1" id="email" type="text" />
                    <input id="approveBtn" type="button" value="立即认证" class="approveBtn_ui ui-icons" />
                    <input id="editEmail" type="button" value="修改Email" class="editEmail_ui ui-icons" />
                </div>
                <div class="clr">
                </div>
            </div>
            <div class="item">
                <span class="label">联系电话：</span>
                <div class="fl">
                    <input name="userInfo.usermob" class="text" id="usermob" type="text" />
                </div>
                <div class="clr">
                </div>
            </div>
            <div class="item">
                <span class="label">备用联系电话：</span>
                <div class="fl">
                    <input name="userInfo.Sparemob" class="text" id="Sparemob" type="text" />
                </div>
                <div class="clr">
                </div>
            </div>
            <div class="item">
                <span class="label">地址：</span>
                <div class="fl">

                      @(Html.Telerik().DropDownList()
                                        .Name("userInfo.Country")
                                        .Items(p =>
                                        {
                                            p.Add().Text("中国");
                                            p.Add().Text("美国");
                                            p.Add().Text("加拿大");
                                        })
                                        //.HtmlAttributes(new { style = "width: 143px" })
                                    )

                      @(Html.Telerik().DropDownList()
                                        .Name("userInfo.City")
                                        .Items(p =>
                                        {
                                            p.Add().Text("北京");
                                            p.Add().Text("上海");
                                            p.Add().Text("温哥华");
                                        })
                                        //.HtmlAttributes(new { style = "width: 143px" })
                                    )

                    @*<select name="userInfo.Country" class="sele" id="Country">
                        <option value="1">中国</option>
                        <option value="2">美国</option>
                        <option value="3">加拿大</option>
                        <option value="4">英国</option>
                        <option value="5">欧洲</option>
                        <option value="6">日本</option>
                        <option value="7">新加坡</option>
                        <option value="9">其它</option>
                    </select>
                    <select name="userInfo.City" class="sele" id="City">
                        <option value="11">北京</option>
                        <option value="12">上海</option>
                        <option value="21">纽约</option>
                        <option value="31">温哥华</option>
                        <option value="41">伦敦</option>
                        <option value="51">巴黎</option>
                        <option value="61">大阪</option>
                        <option value="71">新加坡</option>
                        <option value="91">墨尔本</option>
                    </select>*@

                    <br />                    
                    <input name="userInfo.Address1" class="text1" id="Address1" type="text" style="margin-top: 5px" />
                    <br />
                    <input name="userInfo.Address2" class="text1" id="Address2" type="text" style="margin-top: 5px" />
                    <br />
                    <input name="userInfo.Address3" class="text1" id="Address3" type="text" style="margin-top: 5px" />
                
                </div>
                <div class="clr">
                </div>
            </div>
            <div class="item">
                <span class="label">MSN：</span>
                <div class="fl">
                    <input name="userInfo.userMSN" class="text" id="userMSN" type="text" />
                </div>
                <div class="clr">
                </div>
            </div>
            <div class="item">
                <span class="label">QQ：</span>
                <div class="fl">
                    <input name="userInfo.userQQ" class="text" id="userQQ" type="text" />
                </div>
                <div class="clr">
                </div>
            </div>
            <div class="item">
                <span class="label">我的默认货币：</span>
                <div class="fl">

                  @(Html.Telerik().DropDownList()
                                        .Name("userInfo.userCRY")
                                        .Items(p =>
                                        {
                                            p.Add().Text("").Value("");
                                            p.Add().Text("欧元").Value("EUR");
                                            p.Add().Text("美元").Value("USD");
                                            p.Add().Text("人民币").Value("RMB");
                                        })
                                        
                                    )

                    @*<select name="userInfo.userCRY" class="sele" id="userCRY">
                        <option value=""></option>
                        <option value="1">美元</option>
                        <option value="2">加元</option>
                        <option value="3">英磅</option>
                        <option value="4">欧元</option>
                        <option value="5">澳元</option>
                        <option value="6">日元</option>
                        <option value="7">新元</option>
                        <option value="8">人民币</option>
                    </select>*@
                </div>
                <div class="clr">
                </div>
            </div>
            <div class="hot_more_ui ui-icons">
            </div>
            <div class="btn_item">
                <input id="btnSubmit" type="submit" value="确认修改" class="btnSubmit ui-icons" />
                <input id="btnReset" type="reset" value="重新填写" class="btnReset ui-icons" />
            </div>
            </form>
        </div>
    </div>
</div>
